* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        }
        body {
            background: linear-gradient(145deg, #f0f5fa 0%, #e6ecf3 100%);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 1rem;
        }
        .glass-panel {
            background: rgba(255,255,255,0.75);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-radius: 2rem;
            box-shadow: 0 20px 40px -10px rgba(0,20,40,0.25), 0 0 0 1px rgba(255,255,255,0.5) inset;
            width: min(900px, 100%);
            padding: 2rem 2rem 2.5rem;
            transition: all 0.2s;
        }
        h1 {
            font-size: 2rem;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 0.75rem;
            color: #1e2b3c;
            letter-spacing: -0.02em;
            margin-bottom: 0.15rem;
        }
        h1 i {
            color: #2a7de1;
            font-size: 2rem;
        }
        .sub {
            color: #446688;
            font-weight: 400;
            font-size: 0.95rem;
            margin-left: 3rem;
            margin-bottom: 2rem;
            border-left: 3px solid #2a7de1;
            padding-left: 1rem;
        }
        .scheduler-grid {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }
        .input-row {
            display: flex;
            flex-wrap: wrap;
            gap: 1.5rem;
            align-items: flex-end;
        }
        .field-group {
            flex: 1 1 200px;
        }
        .field-group label {
            display: block;
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 0.03em;
            font-weight: 600;
            color: #3b5c81;
            margin-bottom: 0.4rem;
        }
        .field-group input, .field-group select {
            width: 100%;
            padding: 0.9rem 1.2rem;
            background: white;
            border: 1px solid rgba(0,0,0,0.08);
            border-radius: 2rem;
            font-size: 1rem;
            outline: none;
            box-shadow: 0 4px 8px rgba(0, 10, 20, 0.02);
            transition: 0.15s;
        }
        .field-group input:focus, .field-group select:focus {
            border-color: #2a7de1;
            box-shadow: 0 8px 16px -8px rgba(42,125,225,0.2);
        }
        /* file area with built-in secure size limit (JS will enforce) */
        .file-zone {
            background: rgba(255,255,255,0.5);
            border-radius: 2rem;
            padding: 1.2rem 1.8rem;
            border: 2px dashed #b0c8df;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 1.5rem;
            transition: 0.2s;
        }
        .file-zone:hover {
            border-color: #2a7de1;
            background: rgba(255,255,255,0.7);
        }
        .file-label {
            background: #1e2b3c;
            color: white;
            padding: 0.75rem 1.8rem;
            border-radius: 3rem;
            font-weight: 500;
            font-size: 0.95rem;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            box-shadow: 0 8px 14px -6px #0b1a2b;
            transition: 0.15s;
            border: none;
        }
        .file-label i {
            font-size: 1rem;
        }
        .file-label:hover {
            background: #2a3f58;
            transform: scale(1.02);
        }
        #file-info {
            font-size: 0.95rem;
            color: #1e3a5f;
            font-weight: 500;
            word-break: break-word;
            flex: 1;
        }
        .warning-msg {
            color: #c7442e;
            font-weight: 500;
            font-size: 0.9rem;
            margin-top: 0.25rem;
            min-height: 1.6rem;
        }
        .action-bar {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
            margin: 1rem 0 0.5rem;
        }
        .btn-group {
            display: flex;
            gap: 1rem;
        }
        .btn {
            background: white;
            border: none;
            padding: 0.9rem 2rem;
            border-radius: 3rem;
            font-weight: 600;
            font-size: 1rem;
            display: inline-flex;
            align-items: center;
            gap: 0.6rem;
            box-shadow: 0 5px 12px rgba(0,20,40,0.1);
            cursor: pointer;
            transition: 0.12s;
            border: 1px solid rgba(255,255,255,0.7);
            color: #1e2b3c;
        }
        .btn-primary {
            background: #1e2b3c;
            color: white;
            box-shadow: 0 10px 16px -6px #1e2b3c80;
        }
        .btn-primary i {
            color: #9fc5ff;
        }
        .btn-download {
            background: #1e6f3c;
            color: white;
            border: none;
        }
        .btn-download i {
            color: #b3ffc0;
        }
        .btn:active {
            transform: translateY(2px);
            box-shadow: 0 5px 10px rgba(0,20,40,0.1);
        }
        .btn:disabled {
            opacity: 0.5;
            pointer-events: none;
            filter: grayscale(0.5);
        }
        .posts-preview {
            background: rgba(255,255,255,0.5);
            border-radius: 1.5rem;
            padding: 1.5rem;
            margin-top: 1.2rem;
        }
        .preview-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: #1e3a5f;
            font-weight: 600;
        }
        #scheduleList {
            list-style: none;
            margin-top: 1rem;
            display: flex;
            flex-direction: column;
            gap: 0.7rem;
            max-height: 200px;
            overflow-y: auto;
            padding-right: 0.5rem;
        }
        #scheduleList li {
            background: white;
            padding: 0.8rem 1.4rem;
            border-radius: 2rem;
            display: flex;
            align-items: center;
            gap: 1rem;
            box-shadow: 0 2px 6px rgba(0,0,0,0.02);
            font-size: 0.95rem;
            border: 1px solid #dbe4ed;
        }
        .badge {
            background: #e3ecf7;
            padding: 0.25rem 0.9rem;
            border-radius: 30px;
            font-size: 0.75rem;
            font-weight: 700;
            color: #1f4870;
        }
        .file-size-badge {
            background: #2a7de1;
            color: white;
            margin-left: auto;
            font-family: monospace;
        }
        .footer-note {
            margin-top: 1.5rem;
            font-size: 0.8rem;
            color: #4e6b8a;
            display: flex;
            align-items: center;
            gap: 1rem;
            border-top: 1px solid rgba(0,0,0,0.05);
            padding-top: 1.2rem;
        }
        .secure-badge {
            background: #1e2b3c20;
            padding: 0.3rem 1rem;
            border-radius: 30px;
            color: #152837;
            font-weight: 500;
        }
        i {
            color: #527a9f;
        }